package com.april.common.constant;

/**
 * @Package : com.april.common.constant
 * @Author : xz
 * @Date : 2023-07-19 21:35
 * @Desc :路径跳转
 */
public interface MallUrl {
    String BASE_PATH = "/april";

    String BASE_PRODUCT = "/product";

    interface coupon {

    }

    interface member {

    }

    interface order {

    }

    /**
     * 产品模块
     */
    interface product {
        //分类相关接口
        String BASE_PRODUCT_PATH = BASE_PATH + BASE_PRODUCT;
        String BASE_PRODUCT_CATEGORY_PATH = BASE_PRODUCT_PATH + "/category";

        //分类列表
        String PRODUCT_CATEGORY_TREE = BASE_PRODUCT_CATEGORY_PATH + "/list/tree";
        //分类删除
        String PRODUCT_CATEGORY_DELETE = BASE_PRODUCT_CATEGORY_PATH + "/delete";
        //分类增加
        String PRODUCT_CATEGORY_ADD = BASE_PRODUCT_CATEGORY_PATH + "/save";
        //分类修改
        String PRODUCT_CATEGORY_UPDATE = BASE_PRODUCT_CATEGORY_PATH + "/update";
        //分类顺序修改
        String PRODUCT_CATEGORY_SORT = BASE_PRODUCT_CATEGORY_PATH + "/sort";
        //分类详细信息
        String PRODUCT_CATEGORY_INFO = BASE_PRODUCT_CATEGORY_PATH + "/info/{catId}";

        //品牌相关接口
        String BASE_PRODUCT_BRAND_PATH = BASE_PRODUCT_PATH + "/brand";
        //品牌列表
        String PRODUCT_BRAND_LIST = BASE_PRODUCT_BRAND_PATH + "/list";
        //品牌详细信息
        String PRODUCT_BRAND_INFO = BASE_PRODUCT_BRAND_PATH + "/info/{brandId}";
        //品牌增加
        String PRODUCT_BRAND_ADD = BASE_PRODUCT_BRAND_PATH + "/save";
        //品牌修改
        String PRODUCT_BRAND_UPDATE = BASE_PRODUCT_BRAND_PATH + "/update";
        //品牌状态修改
        String PRODUCT_BRAND_STATUS_UPDATE = BASE_PRODUCT_BRAND_PATH + "/update/s   tatus";
        //品牌删除
        String PRODUCT_BRAND_DELETE = BASE_PRODUCT_BRAND_PATH + "/delete";

        //分组相关接口
        String BASE_PRODUCT_ATTR_GROUP_PATH = BASE_PRODUCT_PATH + "/attr/group";
        //分组列表
        String PRODUCT_ATTR_GROUP_LIST = BASE_PRODUCT_ATTR_GROUP_PATH + "/list/{cateLogId}";
        //分组信息
        String PRODUCT_ATTR_GROUP_INFO = BASE_PRODUCT_ATTR_GROUP_PATH + "/info/{attrGroupId}";
        //分组保存
        String PRODUCT_ATTR_GROUP_ADD = BASE_PRODUCT_ATTR_GROUP_PATH + "/save";
        //分组修改
        String PRODUCT_ATTR_GROUP_UPDATE = BASE_PRODUCT_ATTR_GROUP_PATH + "/update";
        //分组删除
        String PRODUCT_ATTR_GROUP_DELETE = BASE_PRODUCT_ATTR_GROUP_PATH + "/delete";
    }

    /**
     * 上传相关接口
     */
    interface Upload{
        //用户上传头像
        String ICON_UPLOAD = "/upload";
    }

    interface ware {

    }
}
